<?xml version="1.0" encoding="utf-8"?>
<ObjDef xmlns="http://www.sonicretro.org" DefaultSubtype="00">
  <Images>
    <ImageFromSheet id="bot_g" sheet="R2/Objects.gif" sourcex="1" sourcey="1" width="24" height="40">
      <Offset X="-12" Y="-20"/>
    </ImageFromSheet>
    <ImageFromSheet id="drill_g" sheet="R2/Objects.gif" sourcex="26" sourcey="1" width="16" height="16">
      <Offset X="-8" Y="-8"/>
    </ImageFromSheet>
    <ImageFromSheet id="bot_b" sheet="R2/Objects.gif" sourcex="1" sourcey="42" width="24" height="40">
      <Offset X="-12" Y="-20"/>
    </ImageFromSheet>
    <ImageFromSheet id="drill_b" sheet="R2/Objects.gif" sourcex="26" sourcey="18" width="16" height="16">
      <Offset X="-8" Y="-8"/>
    </ImageFromSheet>
  </Images>

  <Properties>
    <Property name="Condition" type="Condition" startbit="0" length="8" />
  </Properties>

  <Enums>
    <Enum name="Condition">
      <EnumMember name="Good" />
      <EnumMember name="Bad" />
    </Enum>
  </Enums>

  <ImageSets>
    <ImageSet id="DrillBot_Good">
      <ImageRef image="bot_g">
      </ImageRef>
      <ImageRef image="drill_g">
        <Offset Y="-28" />
      </ImageRef>
    </ImageSet>
    <ImageSet id="DrillBot_Bad">
      <ImageRef image="bot_b">
      </ImageRef>
      <ImageRef image="drill_b">
        <Offset Y="-28" />
      </ImageRef>
    </ImageSet>
  </ImageSets>

  <Subtypes>
    <Subtype id="00" name="Good Condition">
      <ImageSetRef set="DrillBot_Good" />
    </Subtype>
    <Subtype id="01" name="Bad Condition">
      <ImageSetRef set="DrillBot_Bad" />
    </Subtype>
  </Subtypes>

  <DefaultImage>
    <ImageSetRef set="DrillBot_Good" />
  </DefaultImage>
</ObjDef>